package com.grp6.game.chess;

import com.grp6.game.chess.model.ChessPiece;
import com.grp6.game.chess.model.ChessPlace;
import com.grp6.game.gameactions.IMove;
import com.grp6.game.model.IPiece;

public class ChessMove implements IMove{
	private ChessPiece piece;
	private ChessPlace destination;

	public ChessPlace getDestination() {
		return destination;
	}

	public void setDestination(ChessPlace destination) {
		this.destination = destination;
	}

	public ChessMove(ChessPiece piece,ChessPlace destination){
		this.piece = piece;
		this.destination = destination;
	}
	
	@Override
	public ChessPiece getPiece() {
		return piece;
	}

	@Override
	public void setPiece(IPiece piece) {
		this.piece = (ChessPiece) piece;
	}

}
